package cn.hxth.dubbo.service.mapper;


import cn.hxth.api.model.Plant;
import cn.hxth.api.query.PlantQueryObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PlantMapper {
    boolean deleteByPrimaryKey(Integer cid);

    boolean insert(Plant record);

    Plant selectByPrimaryKey(Integer cid);

    List<Plant> selectAll(PlantQueryObject queryObject);

    boolean updateByPrimaryKey(Plant record);

    Integer selectForCount(PlantQueryObject plantQueryObject);

    boolean updateTimeByPrimaryKey(Integer cid);
}